package hu.mapro.gwtui.gxt.client.fieldseditor.field;

import hu.mapro.gwtui.gxt.client.fieldseditor.FieldCreationInterface;

import com.google.gwt.editor.client.EditorDelegate;
import com.google.gwt.user.client.ui.Widget;

public interface FieldInterface<V> {

	V getValue();
	
	void setDelegate(EditorDelegate<V> delegate);

	Widget getWidget();

	void focus();

	void blur();

	void setContext(FieldCreationInterface ctx);
	
	void setValue(V value);

	void clearInvalid();

}
